<template>
    <div class="ErrorQRcode">
        <image class="ErrorQRcode-img" src="@/static/ErrorQRcode.png"/>
        <span class="ErrorQRcode-text">{{ i18n('time', '时间') }}:{{ time }}</span>
    </div>
</template>

<script>
export default {
    name: "Expires",
    data() {
        return {
            time: ""
        }
    },
    onLoad(params) {
        this.time = params.time && params.time != "undefined" ? params.time : "";
    },
    methods: {
        i18n(name, text, key) {
            return this.$ti18(name, text, "exceptionLang", key);
        },
    }
}
</script>

<style scoped>
.ErrorQRcode-img {
    width: 16rem;
    margin-left: calc(50% - 8rem);
    margin-top: 50%;
}

.ErrorQRcode-text {
    display: block;
    text-align: center;
    color: #cccccc;
    font-size: 1rem;
}
</style>
